package com.xinghen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xinghen
 * @ClassName: XinghenSecurityApplication
 * @Package: com.xinghen
 * @Description 启动类
 * @create 2018-04-08 17:02
 */
@RestController
@SpringBootApplication
public class XinghenSecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(XinghenSecurityApplication.class, args);
    }

    @GetMapping("/")
    public String hello() {
        return "hello, this is xinghen-security-sample";
    }

}
